package com.beigai.imessage.server;

/**
 * Created by xxl on 2017/5/10.
 */
public class SessionMessage {
    public static final int ONLINE=1,OFFLINE=2;
    private String code;
    private Integer status;
    private boolean isOnline;

    public SessionMessage(String code, Integer status, boolean isOnline) {
        this.code = code;
        this.status = status;
        this.isOnline = isOnline;
    }

    public boolean isOnline() {
        return isOnline;
    }
    public void setOnline(boolean online) {
        isOnline = online;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
